package com.chinabank.dao;
import java.io.Serializable;
import java.util.List;

import com.chinabank.exception.NoSuchAccountException;
import com.chinabank.model.Account;


public interface AccountDao extends BaseDao<Account>{
	public abstract Account get(String username, String password) throws NoSuchAccountException; 
	public abstract List<Account> listAccount();
	public abstract void delAccount(Serializable id);
}
